/* General Footer Styling */

footer {
    background-color: #222;
    color: #fff;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-section {
    flex: 1 1 220px; /* Allow shrinking */
    margin: 10px;
    box-sizing: border-box;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
    margin: 5px 0;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #555;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom {
    /* border-top: none; OR match it to background */
    border-bottom: 1px solid #222; /* matches the footer bg color */
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 5px;
    }

    .footer-section {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: 10px 0;
    }
}
